import { Button, ConfigProvider, Tabs } from "antd";
import React from "react";
const { TabPane } = Tabs
const configProvider = () => {
    return <ConfigProvider theme={{
        components: {
            Button: {
                contentFontSize: 18,
                borderColorDisabled: '#f00'
            }
        }
    }}>
        <Tabs activeKey={'diff'}>
            <TabPane tab={'价格'} key={'price'} disabled>
                {'价格'}
            </TabPane>
            <TabPane tab={'价差'} key={'diff'}>
                <Button disabled>{'价差'}</Button>
            </TabPane>
        </Tabs>

    </ConfigProvider>
}

export default configProvider